// src/features/channels/store/use-create-channel-modal.ts
import {atom, useAtom} from 'jotai'

// open state
const modalState = atom(false)

export const useCreateChannelModal = () => {
    return useAtom(modalState)
}